using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AjaxControlToolkit;

namespace AjaxControlToolkit.Models.MSTest
{
	
    public partial class SeadragonPointTests
    {


        
        [TestMethod]
        public void SeadragonPointTests_Property_X_PropertyAssigned ()
        {
            var objectUnderTest = CreateObject();
            System.Single expectedValue;
        
            
            try
            {
                expectedValue = Single.MinValue;
                objectUnderTest.X = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.X);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)(-1);
                objectUnderTest.X = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.X);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)0;
                objectUnderTest.X = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.X);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)1;
                objectUnderTest.X = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.X);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = Single.MaxValue;
                objectUnderTest.X = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.X);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
        
        }    
        
        
        [TestMethod]
        public void SeadragonPointTests_Property_Y_PropertyAssigned ()
        {
            var objectUnderTest = CreateObject();
            System.Single expectedValue;
        
            
            try
            {
                expectedValue = Single.MinValue;
                objectUnderTest.Y = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.Y);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)(-1);
                objectUnderTest.Y = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.Y);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)0;
                objectUnderTest.Y = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.Y);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = (System.Single)1;
                objectUnderTest.Y = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.Y);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
            
            try
            {
                expectedValue = Single.MaxValue;
                objectUnderTest.Y = expectedValue;
                Assert.AreEqual(expectedValue, objectUnderTest.Y);;
            }
            catch (ArgumentException)
            {
                //OK
                return;
            }
            
        
        }    
        
    }
}

